import {fromJS} from 'immutable'
import {actionTypes} from './index'

const defaultState = fromJS({
    list: []
})

export default (state = defaultState, action)=>{
    switch(action.type){
        case actionTypes.CHANGE_LIST_DATA:
            console.log(7890)
            return state.set('list',action.value)
        default:
            return state
    }
}
